package xyz.zhouzhaodong.crm.service;

import xyz.zhouzhaodong.crm.dto.ApplicationDto;
import xyz.zhouzhaodong.crm.entity.Application;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.zhouzhaodong.crm.util.RestMessage;

/**
 * <p>
 * 申请表（学校和专业） 服务类
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-18
 */
public interface IApplicationService extends IService<Application> {

    /**
     * 新增申请
     * @param applicationDto
     * @return
     */
    RestMessage addApplication(ApplicationDto applicationDto);

    /**
     * 删除申请
     * @param applicationDto
     * @return
     */
    RestMessage deleteApplication(ApplicationDto applicationDto);

    /**
     * 修改申请
     * @param applicationDto
     * @return
     */
    RestMessage updateApplication(ApplicationDto applicationDto);

    /**
     * 查询申请
     * @param applicationDto
     * @return
     */
    RestMessage selectApplication(ApplicationDto applicationDto);

    /**
     * 查询申请列表
     * @param applicationDto
     * @return
     */
    RestMessage selectApplicationList(ApplicationDto applicationDto);

}
